package cn.nebula.music.dao;

import java.util.Set;

import org.springframework.stereotype.Repository;

import cn.nebula.music.domain.SingerSong;

@Repository
public interface SingerSongDAO {
	public Set<SingerSong> findAllSingerAlbums();

	public Set<SingerSong> findSingerSongsBySingerId(Integer singerId);

	public Set<SingerSong> findSingerSongsByAlbumId(Integer songId);

	public Integer addSingerSong(SingerSong singerSong);

	public Integer updateSingerSongBySingerId(SingerSong singerSong);

	public Integer updateSingerSongByAlbumId(SingerSong singerSong);

	public Integer deleteSingerSong(SingerSong singerSong);

	public Integer deleteSingerSongBySingerId(Integer id);

	public Integer deleteSingerSongBySongId(Integer id);
}
